/**
 * OrderProcess.java 10.08.2010
 */
package org.example.booking;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * <p>
 * </p>
 * @author tserge
 * @since 10.08.2010
 */
@WebService(targetNamespace = "http://example.org/booking/order")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
  use = SOAPBinding.Use.LITERAL,
  parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface OrderProcess
{
  @WebMethod
  Order createOrder( @WebParam(name = "order") final Order order );

  @WebMethod
  Order getOrder( @WebParam(name = "orderId") final String orderId );

  @WebMethod
  Order updateOrder( @WebParam(name = "order") final Order order );
}
